<template>
  <div>
    <h2>Count组件</h2>
    <p>价格1：{{price1 | priceFormat(3) | add$}}</p>
    <p>价格2：{{price2 | priceFormat() | add$}}</p>
    <p>价格3：{{price3 | priceFormat(1) | add$}}</p>
  </div>
</template>

<script>
export default {
  name:"Count",
  data() {
    return {
      price1: 12,
      price2: 14.44,
      price3: 18.67,
    };
  },
}
</script>